package com.smasher.component.activity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.smasher.camera.fragment.QRcodeFragment
import com.smasher.component.R

class CameraTestActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_camera_test)
        if (savedInstanceState == null) {
            supportFragmentManager.beginTransaction()
                .replace(R.id.container, QRcodeFragment.newInstance(false))
                .commitNow()
        }
    }
}